package com.mida.bms.report.mapper;

import com.mida.bms.report.entity.DocStructTemplateAuth;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DocStructTemplateAuthMapper {
    int deleteByPrimaryKey(Long stTempAuthSoid);

    int insert(DocStructTemplateAuth record);

    int insertSelective(DocStructTemplateAuth record);

    DocStructTemplateAuth selectByPrimaryKey(Long stTempAuthSoid);

    int updateByPrimaryKeySelective(DocStructTemplateAuth record);

    int updateByPrimaryKey(DocStructTemplateAuth record);

    Integer countAuthSpace(Long stTempAuthSpSoid);

    List<Long> selectByStTemplateInfoSoid(Long stTempAuthSoid);

    int deleteById(Long stTemplateInfoSoid);

    int addDocStructTemplateAuthBatch(@Param("docStructTemplateAuths")List<DocStructTemplateAuth>
                                              docStructTemplateAuths) throws Exception;
}